<?php
class StudentInfoModel extends Model{
	public function getName($openid){
		return  $this->where('openId="'.$openid.'"')->getField('name');
	}
	public function getClass($openid){
		return  $this->where('openId="'.$openid.'"')->getField('class');
	}
	public function say(){
		echo "测试函数";
	}
}